package com.fintech.third.model.facerecog;

import java.io.Serializable;

/**
 * 商汤身份证识别结果
 * @author tangpw
 *
 */
public class StIdCardOcrResult implements Serializable{

	private static final long serialVersionUID = 1L;

	private String request_id;
	
	private int code;
	
	private String side;
	
	private String type;
	
	public Info info;
	
	public Validity validity;
	
	public String getRequest_id() {
		return request_id;
	}

	public void setRequest_id(String request_id) {
		this.request_id = request_id;
	}

	

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getSide() {
		return side;
	}

	public void setSide(String side) {
		this.side = side;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Info getInfo() {
		return info;
	}

	public void setInfo(Info info) {
		this.info = info;
	}

	public Validity getValidity() {
		return validity;
	}

	public void setValidity(Validity validity) {
		this.validity = validity;
	}

	public class Info implements Serializable{

		private static final long serialVersionUID = 1L;

		private String name;
		
		private String gender;
		
		private String nation;
		
		
		private String year;
		
		private String month;
		
		private String day;
		
		private String address;
		
		private String number;

		private String authority;
		
		private String timelimit;
		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getGender() {
			return gender;
		}

		public void setGender(String gender) {
			this.gender = gender;
		}

		public String getNation() {
			return nation;
		}

		public void setNation(String nation) {
			this.nation = nation;
		}

		public String getYear() {
			return year;
		}

		public void setYear(String year) {
			this.year = year;
		}

		public String getMonth() {
			return month;
		}

		public void setMonth(String month) {
			this.month = month;
		}

		public String getDay() {
			return day;
		}

		public void setDay(String day) {
			this.day = day;
		}

		public String getAddress() {
			return address;
		}

		public void setAddress(String address) {
			this.address = address;
		}

		public String getNumber() {
			return number;
		}

		public void setNumber(String number) {
			this.number = number;
		}

		public String getAuthority() {
			return authority;
		}

		public void setAuthority(String authority) {
			this.authority = authority;
		}

		public String getTimelimit() {
			return timelimit;
		}

		public void setTimelimit(String timelimit) {
			this.timelimit = timelimit;
		}
		
		
	}
	
	public  class Validity implements Serializable{

		private static final long serialVersionUID = 1L;

		private boolean name;
		
		private boolean gender;
		
		private boolean birthday;
		
		private boolean address;
		
		private boolean number;
		
		
		private boolean authority;
		
		private boolean timelimit;

		public boolean isName() {
			return name;
		}

		public void setName(boolean name) {
			this.name = name;
		}

		public boolean isGender() {
			return gender;
		}

		public void setGender(boolean gender) {
			this.gender = gender;
		}

		public boolean isBirthday() {
			return birthday;
		}

		public void setBirthday(boolean birthday) {
			this.birthday = birthday;
		}

		public boolean isAddress() {
			return address;
		}

		public void setAddress(boolean address) {
			this.address = address;
		}

		public boolean isNumber() {
			return number;
		}

		public void setNumber(boolean number) {
			this.number = number;
		}

		public boolean isAuthority() {
			return authority;
		}

		public void setAuthority(boolean authority) {
			this.authority = authority;
		}

		public boolean isTimelimit() {
			return timelimit;
		}

		public void setTimelimit(boolean timelimit) {
			this.timelimit = timelimit;
		}
		
	}
}
